package Swimv2;

import java.io.Serializable;
import javax.persistence.*;

import java.sql.Timestamp;


/**
 * The persistent class for the richiesta_amicizia database table.
 * 
 */
@Entity
@Table(name="richiesta_amicizia")
public class RichiestaAmicizia implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private RichiestaAmiciziaPK id;
	@Column(nullable=false)
	private Timestamp data;

    public RichiestaAmicizia() {
    }

	public RichiestaAmiciziaPK getId() {
		return this.id;
	}

	public void setId(RichiestaAmiciziaPK id) {
		this.id = id;
	}
	
	public Timestamp getData() {
		return this.data;
	}

	public void setData(Timestamp data) {
		this.data = data;
	}

	
}